package ru.susu.algebra.util;


/**
 * @author akargapolov
 * @since: 09.03.2009
 */
public final class StringUtilities
{
	public static String EMPTY_STRING = "";
	public static String NEW_LINE = "\n";

	public static String toString(long value, int width)
	{
		String fString = "% " + width + "d";
		return String.format(fString, value);
	}

	public static String toString(String value, int width)
	{
		String res = value;
		while (res.length() < width)
		{
			res = " " + res;
		}
		return res;
	}
}
